﻿#ifndef QACCOUNTMANAGEMENT_H
#define QACCOUNTMANAGEMENT_H

#include <QDialog>
#include <map>
namespace Ui {
class QAccountmanagement;
}

class QAccountmanagement : public QDialog
{
    Q_OBJECT

public:
    explicit QAccountmanagement(QWidget *parent = nullptr);
    ~QAccountmanagement();
    void init_dialog();
protected:
    void Init_Skin();
    void Init_Control();
    void Init_SConnect();
    void Init_UserInfoRead();
    void Init_table();
    void data_import();
private slots:
    void on_pB_addaccount_clicked();

    void on_pB_deleteaccount_clicked();

    void on_pB_resetpassword_clicked();

private:
    Ui::QAccountmanagement *ui;
    std::map <QString,QString> Adminaccount;  //管理员
    std::map <QString,QString> engineeraccount;  //工程师
    std::map <QString,QString> operatoraccount;   //操作员
};

#endif // QACCOUNTMANAGEMENT_H
